// 关于 用户 的路由

const express = require('express');

const router = express.Router();

// 校验
const {reply_page_commentId,comment_reply} =require('../schema/reply_schema')
// 执行函数
const replyHandle = require('../router_handler/reply_handler');
// 数据校验
const expressJoi = require('@escook/express-joi');

router.get('/reply',expressJoi(reply_page_commentId),replyHandle.getCommentReply);

router.post('/reply',expressJoi(comment_reply),replyHandle.commentReply);


// 导出路由
module.exports = router;